relocate no output format display routine. (#486)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 4 Feb 2020 16:31:45 +0000 (09:31 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Feb 2020 16:31:45 +0000 (09:31 -0700)
commit97ac91e0bee7e3bb4601ff6e0edc76732ad1ce10
treeac699cfc3335e50a36dedefae557cf45ecf26a6e
parentcc5d7244a8f3cee38323d61b837075b0b0f92b1a
relocate no output format display routine. (#486)

* relocate no output format display routine.

waypt_disp() is used by main when no output format is specified.
This moves that routine from waypt.cc to main.cc.

* clean up exit from main.

don't leave the global_waypoint_list lying around.

return from main instead of calling exit.
defs.h
main.cc
waypt.cc